import { Component, Vue } from "vue-property-decorator";

@Component({
  props: {
    disabled: {
      type: Boolean,
      default: false
    },
    text: {
      type: String,
      required: true
    },
    tooltip: {
      type: String,
      default: null
    }
  }
})
export class TooltipLink extends Vue {
  onClick(event: Event) {
    this.$emit("click", event);
  }
}

export default TooltipLink;
